<template>
  <div class="act">
    <div class="act-img">
<!--      <slot name="act-img"></slot>-->
      <img src="../../assets/img/5.png">
    </div>
    <div class="act-content">
<!--      <slot name="act-content-title"></slot>-->
<!--      <slot name="act-time"></slot>-->
      <h3>山海新经 | 寤寐，天地新志</h3>
      <p>2021.01.15-2021.01.30</p>
      <p>杭州  |  浙江美术馆 </p>
      <div class="act-type">
<!--        <slot name="type"></slot>-->
        <div style="border-color: #70B603;color: #70B603">音乐剧</div>
        <div style="border-color: #EC808D;color: #EC808D">美国</div>
        <div style="border-color: #F59A23;color: #F59A23">家庭</div>
      </div>
      <el-rate
        v-model="3.7"
        disabled
        show-score
        text-color="#ff9900"
        score-template="3.7">
      </el-rate>

    </div>
  </div>
</template>

<script>
    export default {
        name: "search-act"
    }
</script>

<style scoped>
  .act{
    width: 380px;
    height: 185px;
    border-radius: 15px;
    background-color: white;
    margin: 0 auto;
    margin-top: 20px;
    padding: 12px;
  }
  .act-img{
    display: inline-block;
    border-radius: 10px;
    width: 35%;
    height: 100%;
    margin-right: 10px;
  }
  .act-img img{
    border-radius: 10px;
    width: 100%;
    height: 100%;
    vertical-align: top;
  }
  .act-content{
    display: inline-block;
    vertical-align: top;
  }
  .act-content h3{
    color: #555555;
    font-size: 18px;
  }
  .act-content p{
    color: #7f7f7f;
    font-size: 12px;
  }
  .act-type{
    text-align: center;
    margin-top: 10px;
    padding: 0;
  }
  .act-type div{
    display: inline-block;
    width: 40px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid;
    border-color: #70B603;
    font-size: 9px;
    padding-top: 1px;
    margin-left: 3px;
  }
</style>
